package com.ctshk.rpc.user.req;

import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  常用旅客REQ
 * </p>
 *
 * @author 李新科
 * @date 2021/5/17 11:35
 */
@Data
@Accessors(chain = true)
@ApiModel(value="PassengerPageReq对象", description="常用旅客分页查询req")
public class PassengerPageReq extends PageReq implements Serializable {

    @ApiModelProperty(name = "id", value = "id,修改时传入")
    private Long id;

    @ApiModelProperty(value="用户id")
    private Long userId;

    @ApiModelProperty(value="英文姓")
    private String enSurname;

    @ApiModelProperty(value="英文名")
    private String enName;

    @ApiModelProperty(value="称谓(1:先生;2:女士;3:小姐;4:男童;5:女童)")
    private Integer appellation;

    @ApiModelProperty(value="联络电话")
    private String contactNumber;

    @ApiModelProperty(value="电邮")
    private String email;

    @ApiModelProperty(value="出生日期")
    private LocalDate birthday;

    @ApiModelProperty(value="国籍id")
    private Long nationalityId;

    @ApiModelProperty(value="国籍名称")
    private String nationalityName;

    @ApiModelProperty(value="是否同意存储,0否,1是")
    private Integer isAgreeToStore;
}
